package exp8;

/**
 * Function: 二叉树数据结构
 * Editor: HexWarrior6
 * Date: 2023/12/30 21:49
 */

public class TreeNode {
	int data;
	TreeNode leftNode;
	TreeNode rightNode;
	public TreeNode() {

	}
	public TreeNode(int d) {
		data=d;
	}

	public TreeNode(TreeNode left,TreeNode right,int d) {
		leftNode=left;
		rightNode=right;
		data=d;
	}
}